package com.esun.cheetah.view.personal;

/**
 * @ClassName: DataShare
 * @Description: TODO(应用共享数据类)
 * @author Miko baoz@500wan.com
 * @date 2011-1-13 下午09:33:30
 * 
 */
public class DataShare {

	/** 服务器通讯地址 */

	// 线上接口
	public static final String POSTADDRESS = "http://ws.500wan.com/pages/interface/client/requestsoft.php?channel=4001002";

	/** 升级检测地址 */
	public static final String UPDATE_ADD = "http://m.500wan.com/rabbit/version.xml";

	/** 彩票业务编号 双色球 */
	public static final String SHUANGSEQIU = "3";

	/** 彩票业务编号 大乐透 */
	public static final String DALETOU = "28";

	/** 彩票业务编号 11选5 */
	public static final String SHIYIXUANWU = "45";

	/** head 1 长度 length =18;（固定） */
	public static final int FIRSTHEADLENGTH = 18;

	/** 4B 协议版本，非业务版本号，底层通信打包方式版本号，值为101。 */
	public static final int PROTOCOLVERSION = 101;

	/** 2B 终端类型标识 */
	public static final short K_AN = 116;

	/** 1B 包压缩方式 */
	public static final byte CT_NONE = 0x00; // 不压缩
	/** 1B 包压缩方式 */
	public static final byte CT_GZIP = 0x01; // GZIP压缩

	/** 1B 包加密方式 */
	public static final byte ET_NONE = 0x00; // 不加密
	/** 1B 包加密方式 */
	public static final byte ET_3DES = 0x01; // 3DES加密

	/** 2B 时间戳 */
	public static final short TIME_STAMP = 0; // 时间戳写0 由服务器给定

	/** head 2 长度 length =149;（固定） */
	public static final int SECONDHEADLENGTH = 149;

	/** 40B 服务器返回的数据，发送时固定为my@#$ */
	public static final String QWUSERID = "my@#$";

	/** 100B 服务器返回的数据，发送时应是00 */
	public static final String QWSESSIONID = "00";

	/** 2B 平台类型 暂时不详 定为1 */
	public static final short WPLATYPE = 1;

	/** 1B 是否报错信息 暂时不详 定为1 */
	public static final byte WSTATUS = 1;

	/** 4B 下载编号 暂时不详 暂定为 0 */
	public static final int DOWNLOADNUM = 0;

	/** 2B 业务编号 升级协议 */
	public static final short BUSINESS_UPDATE = 10000;

	/** 2B 业务编号 交易类 获取期号列表 */
	public static final short TRANSACTIONS_GETLSSUE = 10001;

	/** 2B 业务编号 交易类 常规复试发起 */
	public static final short TRANSACTIONS_DOUBLE_LAUNCH = 10002;

	/** 2B 业务编号 交易类_发起撤单 */
	public static final short TRANSACTIONS_WITHDRAWALS = 10003;

	/** 2B 业务编号 查询类_开奖信息查询 */
	public static final short QUERY_LOTTERYINFO = 10004;

	/** 2B 业务编号 查询类_获取开奖信息 */
	public static final short QUERY_GETLOTTERYINFO = 10005;

	/** 2B 业务编号 查询类 获取我的追号 */
	public static final short QUERY_MYFOLLOW = 10101;

	/** 2B 业务编号 查询类 获取开奖期号，开奖号码等信息 */
	public static final short QUERY_LOTTERY = 10102;

	/** 2B 业务编号 查询类 获取我的方案列表 */
	public static final short QUERY_MYPROGRAM = 10103;

	/** 2B 业务编号 查询类 方案详情 */
	public static final short QUERY_PROGRAMDETAIL = 10104;

	/** 2B 业务编号 查询类 中奖详情 */
	public static final short QUERY_BINGO = 10105;

	/** 2B 业务编号 查询类 获取服务器时间 */
	public static final short QUERY_SERVERTIME = 10106;

	/** 2B 业务编号 查询类 图表 */
	public static final short QUERY_TABLE = 10107;

	/** 2B 业务编号 查询类 时时彩排行榜 */
	public static final short QUERY_CONSTANTLOTRANK = 10108;

	/** 2B 业务编号 查询类 遗漏号码 */
	public static final short QUERY_LOSSNUM = 10109;

	/** 2B 业务编号 查询类 数字彩排行榜 */
	public static final short QUERY_NUMLOTRANK = 10110;

	/** 2B 业务编号 查询类_11选5的期号列表查询 */
	public static final short QUERY_SHIYIXUANWU_TERMLIST = 10111;
	/*
     *//** 2B 业务编号 查询类_获得11选5开奖号码 */
	/*
	 * public static final short QUERY_SHIYIXUANWU_LOTTERYNUM = 10112;
	 */

	/** 2B 业务编号 购彩记录 取消追号 */
	public static final short TRACKING_CANCL = 10118;

	/** 2B 业务编号 查询类_获得11选5开奖号码 */
	public static final short QUERY_SHIYIXUANWU_LOTTERYNUM = 10119;

	/** 2B 业务编号 查询类_获得十一选五中奖排行榜 */
	public static final short QUERY_SHIYIXUANWU_RANK = 10114;

	/** 2B 业务编号 查询类_获得合买列表 */
	public static final short QUERY_HEMAI_LIST = 10306;

	/** 2B 业务编号 查询类_获得合买详细内容 */
	public static final short QUERY_HEMAI_DETAIL = 10307;

	/** 2B 业务编号 交易类_ 参与合买 */
	public static final short TRANSACTIONS_HEMAI_JOIN = 10308;

	/** 2B 业务编号 查询类_获得合买热门方案列表 */
	public static final short QUERY_HEMAI_HOT = 10012;

	/** 2B 业务编号 交易类_ 11选5发起代购 */
	public static final short TRANSACTIONS_SHIYIXUANWU_LUANCHSHOPPING = 10113;

	/** 2B 业务编号 用户相关 用户统一登陆接口 */
	public static final short USER_LOGIN = 10200;

	/** 2B 业务编号 用户相关 用户注册 */
	public static final short USER_REGIST = 10205;

	/** 2B 业务编号 用户相关 修改用户资料 */
	public static final short USER_INFOMODIFY = 10202;

	/** 2B 业务编号 用户相关 获取用户扩展信息 */
	public static final short USER_MOREINFO = 10203;

	/** 2B 业务编号 用户相关 绑定银行卡号 */
	public static final short USER_BINDINGCARD = 10116;

	/** 2B 业务编号 查询类 获取用户绑定信息 */
	public static final short QUERY_USERBINDINGINFO = 10014;

	/** 2B 业务编号 用户相关 神州行充值 */
	public static final short USER_SZXRECHARGE = 10010;

	/** 2B 业务编号 用户相关 神州付充值 */
	public static final short USER_SZFRECHARGE = 10028;

	/** 2B 业务编号 用户相关 银联充值 */
	public static final short USER_YINLIANRECHARGE = 10016;

	/** 2B 业务编号 用户相关 是否支持手机银联充值 */
	public static final short USER_ISCANPHONERECHARGE = 10017;

	/** 2B 业务编号 统计 提交访问页面数据统计 */
	public static final short COUNT_VISITCOUNT = 10204;

	/** 2B 业务编号 用户相关 提现 */
	public static final short USER_WITHDRAW = 10018;

	public static final int LOTTERY_BUY_SECCESS = 100001;

	public static final int LOTTERY_BUY_ERROR = 100002;

	public static final int CONNECTED_FAIL = 100003;

	public static final int BUY_CONNECTED_FAIL = 100004;

	public static final int AUTO_LOGIN_SECCESS = 100005;

	public static final int AUTO_LOGIN_FAIL = 10006;

	public static final int MAIN_LOTERRY_INFO_SHOW = 10007;

	public static final int MAIN_RADIO_GROUP_ENABLE = 10008;

	public static final int MAIN_RADIO_GROUP_DISABLE = 10009;

	public static final int GET_TERMNUM_SECCESS = 10010;

	public static final int GET_TERMNUM_FAILED = 10011;

	public static final int UPDATE_SHIYIXUANWU_LAST_LOTNUM = 10012;

	public static final int UPDATE_SHIYIXUANWU_LAST_LOTNUM_ERROR = 10013;

	public static final int GET_USER_DETAIL_INFO_OK = 10014;

	public static final int GET_USER_DETAIL_INFO_ERROR = 10015;

	public static final int GET_USER_DETAIL_INFO_RELOGIN = 10016;

	public static final int GET_BINDING_CARD_OK = 10017;

	public static final int GET_BINDING_CARD_ERROR = 10018;

	public static final int GET_RECHARGE_CANPHONERECHARGE_SUCCEED = 10019;

	public static final int GET_RECHARGE_CANPHONERECHARGE_ERROR = 10020;

	public static final int GET_RECHARGE_WITHDRAW_OK = 10021;

	public static final int GET_RECHARGE_WITHDRAW_ERROR = 10022;

	public static final int GET_RECHARGE_YLRECHARGE_OK = 10023;

	public static final int GET_RECHARGE_YLRECHARGE_ERROR = 10024;

	public static final int GET_RECHARGE_SZXRECHARGE_OK = 10025;

	public static final int GET_RECHARGE_SZXRECHARGE_ERROR = 10026;

	public static final int NEED_UPDATE = 10027;

	public static final int GET_TITTLE_MSG_OK = 10028;

	/** 标识字符串 1 */
	public static final String NUM1 = "1";
	/** 标识字符串 0 */
	public static final String NUM0 = "0";

	public static final String NULLSTRING = "!@#";

	/** 常用字符串 "" */
	public static final String NULLMARK = "";

	/** 常用字符串 " " */
	public static final String ONESPACE = " ";

	/** 常用字符串 "," */
	public static final String COMMA = ",";

	/** 常用字符串 "|" */
	public static final String VERTRAL_LINE = "|";

	/** 常用字符串 "[" */
	public static final String LEFT_BR = "[";

	/** 常用字符串 "]" */
	public static final String RIGHT_BR = "]";

	public static int screen_width = 0;

	/** 平台标识 */
	public static final String ANDROID = "Android";

	public static boolean popIsShowing = false;

}
